package com.example.mangodb.repository;

import com.example.mangodb.domain.Student;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

/**
 * @Author: 普发忠
 * @Date: 2021/09/27/14:17
 */
@Repository
public interface StudentRepository extends MongoRepository<Student,String> {
public Student findByName(String name);

}
